﻿using Volo.Abp.Reflection;

namespace Edu.Permissions
{
    public class StudyTaskPermissions
    {
        public const string GroupName = "StudyTask";

        //Add your own permission names. Example:
        public const string Default = GroupName + ".StudyTasks";
        public const string Create = Default + ".Create";
        public const string Update = Default + ".Update";
        public const string Delete = Default + ".Delete";
        public const string ManagePermissions = Default + ".ManagePermissions";

        public static string[] GetAll()
        {
            //Return an array of all permissions
            return ReflectionHelper.GetPublicConstantsRecursively(typeof(StudyTaskPermissions));
        }
    }
}
